package com.meitianhui.convenitenbuy.module.wallet.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.wallet.model.ScanningBean;
import com.meitianhui.convenitenbuy.module.wallet.model.StoreInfoBean;

/**
 * Created by Administrator on 2017/11/2.
 */

public interface WalletScanningContract {
    interface View extends BaseView<Presenter> {
        void verifyCodeResult(int result, ScanningBean bean,String msg);
        void paymentResult(boolean result,String msg);
        void receiptResult(boolean result,String msg);
        void getStoreBack(StoreInfoBean bean,String storeId);
    }

    interface Presenter extends BasePresenter {
        void verifyCode(ScanningBean bean);
        void getStore(String storeId);
        void payForOrder(ScanningBean bean);
        void receiptByOrder(ScanningBean bean);
    }
}
